package tms.business.time;

import javax.ejb.EJB;
import javax.ejb.Schedule;
import javax.ejb.Stateless;

@Stateless
public class TimeAutostopTrigger {
    @EJB
    TimeService timeService;


    @Schedule(second = "59", minute="*", hour="*")
    public void trigger() {
        timeService.autostopTimes();
    }
}
